package com.hsy.crm.web.domain.entity;

import javax.persistence.Column;
import javax.persistence.Table;

@Table(name = "sys_print")
public class Print extends BaseEntity{

    /**
     * 业务类型   【采购、销售、采购订单、销售订单、、、等等】
     */
    @Column(length = 11)
    private Integer bussType;

    /**
     * 同种类型可能有多套打印模板  该设置确认打印时采用哪种模板
     *
     * 0  默认  1  闲置
     */
    @Column(length = 11)
    private Integer printDefault;

    @Column(columnDefinition = "longtext")
    private String json;

    public Integer getBussType() {
        return bussType;
    }

    public void setBussType(Integer bussType) {
        this.bussType = bussType;
    }

    public Integer getPrintDefault() {
        return printDefault;
    }

    public void setPrintDefault(Integer printDefault) {
        this.printDefault = printDefault;
    }

    public String getJson() {
        return json;
    }

    public void setJson(String json) {
        this.json = json;
    }

    @Override
    public String getDynamicTableName() {
        return "sys_print";
    }

}
